ScssPhp\ScssPhp\Compiler D

Total Complexity 1,236
Dependencies 16
Dependents 3
Total lines 6,846
Lines of code 3,862
Logical lines of code 2,560
Comment lines 1,337
Methods 238
Properties 120

Methods 238

Method Rating Maintainability Complexity Lines of code
compileChild()
D
8
103 295
reduce()
D
24
64 135
applyArguments()
D
27
43 137
compileValue()
D
31 33 103
compileMediaQuery()
C
34 28 90
matchExtends()
C
36 25 77
compile()
B
36 22 70
sortArgs()
B
36 21 78
matchExtendsSingle()
B
40 20 59
unifyCompoundSelectors()
B
42 17 59
compileMedia()
A
40 15 59
get()
A
45 16 37
mergeMediaTypes()
A
46 14 43
opColorColor()
A
45 14 41
evaluateMediaQuery()
A
44 14 41
joinSelectors()
A
47 13 38
findImport()
A
49 13 30
filterScopeWithWithout()
A
45 12 43
isSuperSelector()
A
46 12 41
evalSelectorPart()
A
55 13 16
compileBlock()
A
45 11 39
flattenSelectors()
A
47 11 37
coerceValue()
A
47 11 36
collapseSelectors()
A
45 10 44
alterColor()
A
51 11 25
multiplySelectors()
A
48 10 36
selectorAppend()
A
50 10 30
compileImport()
A
51 10 28
mergeDirectRelationships()
A
51 10 26
multiplyMedia()
A
48 9 34
opAnd()
A
58 10 14
opOr()
A
58 10 14
coerceList()
A
50 9 29
callNativeFunction()
A
51 9 23
libIndex()
A
53 9 22
setExisting()
A
54 9 22
compileChildrenNoReturn()
A
53 9 21
libTypeOf()
A
55 9 20
callStackMessage()
A
53 9 20
compileAtRoot()
A
48 8 33
mergeParts()
A
51 8 29
matchPartInCompound()
A
53 8 24
isWith()
A
54 8 22
glueFunctionSelectors()
A
56 8 18
appendRootDirective()
S
51 7 26
libMix()
S
51 7 25
combineSelectorSingle()
S
53 7 24
libScaleColor()
S
53 7 24
appendOutputLine()
S
53 7 22
normalizeValue()
S
53 7 22
libStrSlice()
S
56 7 17
compileNestedBlock()
S
49 6 30
libComparable()
S
60 7 12
completeScope()
S
61 7 11
extendOrReplaceSelectors()
S
53 6 23
toHSL()
S
52 6 23
compileWith()
S
53 6 23
getNormalizedNumbers()
S
54 6 21
flattenSelectorSingle()
S
56 6 18
hueToRGB()
S
57 6 17
findScopeSelectors()
S
61 6 13
hasSelectorPlaceholder()
S
61 6 13
shouldEval()
S
61 6 12
compileNestedPropertiesBlock()
S
54 5 20
libZip()
S
56 5 19
throwError()
S
55 5 19
opAdd()
S
58 5 17
coerceColor()
S
57 5 16
injectVariables()
S
58 5 15
fncall()
S
58 5 15
testWithWithout()
S
68 6 6
extractRelationshipFromFragment()
S
58 5 15
isSuperPart()
S
60 5 13
callScssFunction()
S
54 4 21
compileSelectorPart()
S
58 4 16
libMapMerge()
S
57 4 16
libSetNth()
S
58 4 15
missingSelectors()
S
58 4 15
filterWithWithout()
S
59 4 14
pushExtends()
S
60 4 14
libListSeparator()
S
61 4 13
libMapGet()
S
60 4 13
listSeparatorForJoin()
S
61 4 13
revertSelfSelector()
S
62 4 12
compileStringContent()
S
62 4 11
compileDirective()
S
61 4 11
libSelectorReplace()
S
62 4 11
fixColor()
S
63 4 11
libSelectorExtend()
S
62 4 11
libSelectorNest()
S
56 3 18
libNth()
S
63 4 10
libMax()
S
63 4 10
libMin()
S
63 4 10
mediaParent()
S
65 4 9
getSelectorArg()
S
59 3 15
toRGB()
S
57 3 15
evalSelectors()
S
60 3 13
libCall()
S
59 3 13
expToString()
S
61 3 13
libFunctionExists()
S
60 3 13
checkCompatibleTags()
S
62 3 12
libSelectorUnify()
S
61 3 12
compileChildren()
S
63 3 11
libRandom()
S
62 3 11
libMapRemove()
S
61 3 11
set()
S
63 3 11
extractInterpolation()
S
61 3 11
makeOutputBlock()
S
56 2 19
importFile()
S
58 2 16
coercePercent()
S
65 3 9
libAlpha()
S
69 3 6
handleImportLoop()
S
64 3 9
coerceMap()
S
66 3 9
libRgba()
S
62 3 10
opNeq()
S
65 3 9
libQuote()
S
67 3 7
libMapHasKey()
S
63 3 10
findTagName()
S
67 3 8
addParsedFile()
S
72 3 5
isSelfExtend()
S
67 3 8
isImmediateRelationshipCombinator()
S
78 3 3
opEq()
S
65 3 9
pushCallStack()
S
60 2 13
compileSelector()
S
63 2 12
libSimpleSelectors()
S
62 2 11
libInvert()
S
62 2 11
libInspect()
S
70 2 6
libIeHexStr()
S
70 2 5
prependSelectors()
S
67 2 8
libSelectorAppend()
S
64 2 9
libOpacity()
S
68 2 7
libTransparentize()
S
67 2 7
adjustHsl()
S
64 2 9
libUniqueId()
S
64 2 8
libUnquote()
S
69 2 7
libFeatureExists()
S
68 2 7
libGrayscale()
S
67 2 7
libToUpperCase()
S
69 2 6
libToLowerCase()
S
69 2 6
libStrIndex()
S
65 2 8
libUnitless()
S
74 2 4
libUnit()
S
68 2 7
libKeywords()
S
63 2 10
libOpacify()
S
67 2 7
libSaturate()
S
64 2 9
__construct()
S
69 2 7
fileExists()
S
79 2 3
assertMap()
S
68 2 7
compileComment()
S
71 2 5
isTruthy()
S
79 2 3
opDivNumberNumber()
S
68 2 6
opCmpNumberNumber()
S
73 2 4
toBool()
S
80 2 3
compactEnv()
S
71 2 6
extractEnv()
S
69 2 7
pushEnv()
S
65 2 9
getStoreEnv()
S
79 2 3
setRaw()
S
71 2 6
coerceForExpression()
S
72 2 6
coerceString()
S
70 2 6
addImportPath()
S
73 2 5
assertColor()
S
70 2 6
assertList()
S
70 2 6
assertNumber()
S
70 2 6
libIf()
S
68 2 7
compileKeyframeBlock()
S
59 1 14
getCompileOptions()
S
61 1 12
libLightness()
S
70 1 5
libMixinExists()
S
71 1 5
opLteNumberNumber()
S
78 1 3
opLtNumberNumber()
S
78 1 3
libCounter()
S
73 1 4
libVariableExists()
S
72 1 5
flattenList()
S
80 1 3
libGlobalVariableExists()
S
72 1 5
libGreen()
S
75 1 4
libBlue()
S
75 1 4
opGteNumberNumber()
S
78 1 3
libStrLength()
S
71 1 5
libStrInsert()
S
64 1 9
opGtNumberNumber()
S
79 1 3
libIsSuperselector()
S
70 1 6
formatOutputSelector()
S
76 1 4
normalizeName()
S
79 1 3
parserFactory()
S
70 1 6
compileRoot()
S
70 1 6
libRgb()
S
74 1 4
evalSelector()
S
78 1 3
popCallStack()
S
81 1 3
libSelectorParse()
S
73 1 5
opAddNumberNumber()
S
77 1 3
libHsl()
S
74 1 4
opMulNumberNumber()
S
77 1 3
opSubNumberNumber()
S
77 1 3
libRed()
S
75 1 4
opModNumberNumber()
S
77 1 3
opColorNumber()
S
67 1 8
opNumberColor()
S
67 1 8
popEnv()
S
81 1 3
has()
S
78 1 3
libHsla()
S
69 1 6
setIgnoreErrors()
S
77 1 4
libFloor()
S
74 1 4
libRound()
S
74 1 4
libPercentage()
S
77 1 3
addFeature()
S
80 1 3
setEncoding()
S
81 1 3
libFadeOut()
S
80 1 3
libFadeIn()
S
80 1 3
libAbs()
S
74 1 4
getBuiltinFunction()
S
64 1 10
libComplement()
S
78 1 3
libHue()
S
70 1 5
libDesaturate()
S
71 1 5
libSaturation()
S
70 1 5
libDarken()
S
70 1 5
libLighten()
S
70 1 5
libCeil()
S
74 1 4
unregisterFunction()
S
79 1 3
libAdjustHue()
S
71 1 5
setImportPaths()
S
80 1 3
setVariables()
S
79 1 3
libAppend()
S
69 1 6
libJoin()
S
67 1 7
unsetVariable()
S
80 1 3
getVariables()
S
82 1 3
getParsedFiles()
S
82 1 3
libChangeColor()
S
74 1 5
libMapValues()
S
72 1 5
registerFunction()
S
78 1 3
libMapKeys()
S
72 1 5
setNumberPrecision()
S
80 1 3
setFormatter()
S
81 1 3
setLineNumberStyle()
S
81 1 3
setSourceMap()
S
81 1 3
libLength()
S
75 1 4
setSourceMapOptions()
S
81 1 3
libAdjustColor()
S
73 1 5